package aps

class MesLot {

    String LotId
    /// <summary>
    /// 设备ID
    /// </summary>
    String EqpId
    /// <summary>
    /// 批次类型，Production/Prototype/Monitor/Engineering/Dummy
    /// </summary>
    String LotType
    /// <summary>
    /// 数量
    /// </summary>
    int TotalQty
    /// <summary>
    /// 产品
    /// </summary>
    String Product
    /// <summary>
    /// 当前站点
    /// </summary>
    String CurrentStep
    /// <summary>
    /// Recipe名称
    /// </summary>
    String RecipeId
    /// <summary>
    /// Device
    /// </summary>
    String Device
    /// <summary>
    /// WaferSource
    /// </summary>
    String WaferSource
    /// <summary>
    /// WaferSource版本
    /// </summary>
    String WaferSourceVersion
    /// <summary>
    /// WaferId
    /// </summary>
    String WaferId
    /// <summary>
    /// 焊接图
    /// </summary>
    String Diagram
    /// <summary>
    /// 焊接图版本
    /// </summary>
    String DiagramVersion
    /// <summary>
    /// 基板数量
    /// </summary>
    int Tablets
    /// <summary>
    /// 完成基板片数
    /// </summary>
    int DoneTablets
    /// <summary>
    /// 完成数量
    /// </summary>
    int DoneQty
    /// <summary>
    /// 开始作业时间
    /// </summary>
    Date ProcessStartTime
    /// <summary>
    /// 作业完成时间
    /// </summary>
    Date ProcessEndTime
    /// <summary>
    /// TrackIn时间
    /// </summary>
    Date TrackInTime
    /// <summary>
    /// TrackOut时间
    /// </summary>
    Date TrackOutTime
    /// <summary>
    /// 批次当前状态
    /// </summary>
    String ProcessStatus
    /// <summary>
    /// 当前操作员
    /// </summary>
    String OPID
    /// <summary>
    /// 合格率
    /// </summary>
    String YieID
    /// <summary>
    /// UPH
    /// </summary>
    String UPH
    /// <summary>
    /// 进程中lot状态
    /// </summary>
    String LotStatus
    /// <summary>
    /// 关键报警 格式如 NSOP:20;NSOL:100;SKIP:10;
    /// </summary>
    String MainAlarms
    /// <summary>
    /// 物料集合
    /// </summary>
    List<MaterialIn> Materials


    static constraints = {
    }

    @Override
    public String toString() {
        return "MesLot{" +
                "LotId='" + LotId + '\'' +
                ", EqpId='" + EqpId + '\'' +
                ", LotType='" + LotType + '\'' +
                ", TotalQty=" + TotalQty +
                ", Product='" + Product + '\'' +
                ", CurrentStep='" + CurrentStep + '\'' +
                ", RecipeId='" + RecipeId + '\'' +
                ", Device='" + Device + '\'' +
                ", WaferSource='" + WaferSource + '\'' +
                ", WaferSourceVersion='" + WaferSourceVersion + '\'' +
                ", WaferId='" + WaferId + '\'' +
                ", Diagram='" + Diagram + '\'' +
                ", DiagramVersion='" + DiagramVersion + '\'' +
                ", Tablets=" + Tablets +
                ", DoneTablets=" + DoneTablets +
                ", DoneQty=" + DoneQty +
                ", ProcessStartTime=" + ProcessStartTime +
                ", ProcessEndTime=" + ProcessEndTime +
                ", TrackInTime=" + TrackInTime +
                ", TrackOutTime=" + TrackOutTime +
                ", ProcessStatus='" + ProcessStatus + '\'' +
                ", OPID='" + OPID + '\'' +
                ", YieID='" + YieID + '\'' +
                ", UPH='" + UPH + '\'' +
                ", LotStatus='" + LotStatus + '\'' +
                ", MainAlarms='" + MainAlarms + '\'' +
                ", Materials=" + Materials +
                '}';
    }

}
